import { WinMenu } from '../component';
import { ConfigProvider } from 'antd';
import moment from 'moment';
import zhCN from 'antd/es/locale/zh_CN';
moment.locale('zh-cn');

export default props => {
  return (
    <ConfigProvider locale={zhCN}>
      <div>
        <WinMenu router={props.route}> {props.children}</WinMenu>
      </div>
    </ConfigProvider>
  );
};
